import Vue from 'vue'
// import App from './App.vue'
// import router from './router'

import App from './App_1.vue'
import router from './router_1'

import store from './store'

import http from '@/common/http'
import util from '@/common/util'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import '@/assets/common.css';
import '@/assets/iconfont/iconfont.css';

import VueVideoPlayer from 'vue-video-player'

import VOrgTree from 'v-org-tree'

import 'video.js/dist/video-js.css'
// import 'vue-video-player/src/custom-theme.css'

Vue.use(VueVideoPlayer, /* {
  options: global default options,
  events: global videojs events
} */)

// import vueztree from 'vue-ztree-2.0/dist/vue-ztree-2.0.umd.min.js'
// import 'vue-ztree-2.0/dist/vue-ztree-2.0.css'

// Vue.use(vueztree)


import VueAMap from 'vue-amap';
Vue.use(VOrgTree);
Vue.use(VueAMap);
VueAMap.initAMapApiLoader({
	key: 'c05a79566adf86c4403e0f47ff2c1ba2',
	plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor', 'Geocoder'],
	// 默认高德 sdk 版本为 1.4.4
	uiVersion: '1.0',
	v: '1.4.4'
});

Vue.use(ElementUI);

Vue.config.productionTip = false
Vue.prototype.$http = http;
Vue.prototype.$util = util;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
